package com.wei.web.middleware.httpfilter.auth.server.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
public class ServerAuthConfig {
    private List<AuthConfigDTO> authList;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class AuthConfigDTO {
        private List<String> urlPatterns;
        private Boolean localAccess;
        private List<String> issue;
        private String audience;
        private String authType;
        private Map<String, Object> authConfig;
    }
}
